<template>
  <CloudAffix :offset-top="120" @change="change">
    <CloudButton>120px to affix top</CloudButton>
  </CloudAffix>
</template>
<script>
export default {
  title: '3.固定状态改变的回调',
  methods: {
    change(affixed) {
      console.log(affixed);
    },
  },
};
</script>